package com.xayy.health.mgt.mapper;

import cn.kawins.mybatis.BaseMapper;
import com.xayy.health.mgt.model.HealthAlgorithmManage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cuixidong
 * @version 1.0
 * @date 2023/4/27 9:47
 **/
public interface HealthAlgorithmManageMapper extends BaseMapper<HealthAlgorithmManage> {
    /**
     * 根据类型查询算法
     *
     * @return List<HealthAlgorithmManage>
     */
    List<HealthAlgorithmManage> selectAlgorithmByType();

    /**
     * 根据算法名称查询算法
     *
     * @return HealthAlgorithmManage
     */
    HealthAlgorithmManage selectAlgorithmByName(@Param("algorithmName") String algorithmName);

}
